﻿<%@ Page Title="Change status interview" Language="C#" MasterPageFile="~/Interviewer/MasterPageInterviewer.master" AutoEventWireup="true" CodeFile="ChangeStatusInterView.aspx.cs" Inherits="Interviewer_ChangeStatusInterView" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <script type="text/javascript">
        $(function () {
            $('#<%=ddlStatus.ClientID %>').change(function () {
                $('#<%=btnSave.ClientID %>').attr('disabled', false);
            });
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentmain" Runat="Server">
    <div id = "Main">
        <h2>Change status interview</h2>
        <p>
            <asp:Label ID="Label1" runat="server" Text="InterviewID:" Width="105px" Height="20px"></asp:Label>
            <asp:TextBox ID="txtInterviewID" runat="server" Height="20px" Width="80px" 
                Enabled="false"></asp:TextBox>
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label2" runat="server" Text="InterviewerID:" Width="105px" Height="20px"></asp:Label>
            <asp:TextBox ID="txtInterviewerID" runat="server" Height="20px" Width="120px" 
                Enabled="false"></asp:TextBox>
        </p>
        <p>
            <asp:Label ID="Label3" runat="server" Text="VacancyID:" Width="105px" Height="20px"></asp:Label>
            <asp:TextBox ID="txtVacancyID" runat="server" Height="20px" Width="80px" 
                Enabled="false"></asp:TextBox>
        &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label4" runat="server" Text="ApplicantID:" Width="105px" Height="20px"></asp:Label>
            <asp:TextBox ID="txtApplicantID" runat="server" Width="120px" Height="20px" 
                Enabled ="false"></asp:TextBox>
        </p>
        <p>
            <asp:Label ID="Label5" runat="server" Text="Date Interview:" Width="105px" Height="20px"></asp:Label>
            <asp:TextBox ID="txtDateInterview" runat="server" Width="80px" Height="20px" 
                Enabled="false"></asp:TextBox>
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label6" runat="server" Text="Time Details:" Width="105px" Height="20px"></asp:Label>
            <asp:TextBox ID="txtTimeDetails" runat="server" Width="120px" Height="20px" 
                Enabled="false"></asp:TextBox>
        </p>
        <p>
            <asp:Label ID="Label7" runat="server" Text="Status" Width="105px" Height="20px"></asp:Label>
            <asp:DropDownList ID="ddlStatus" runat="server" Width="80px" Height="20px">
                <asp:ListItem Value="1">Accept</asp:ListItem>
                <asp:ListItem Value="2">Waiting</asp:ListItem>
                <asp:ListItem Value="3">Not Accept</asp:ListItem>
            </asp:DropDownList>
        &nbsp;&nbsp;&nbsp;&nbsp;
            </p>
        <p style="text-align:center">
            <asp:Label ID="lblError" runat="server" Text="" ForeColor="Red"></asp:Label>
            <asp:Label ID="lblSuccess" runat="server" ForeColor="Blue"></asp:Label>
        </p>
        <p>
            <asp:Button ID="btnSave" runat="server" Text="Save change" Height="30px" Width="100px" onclick="btnSave_Click"/>
            <asp:Button ID="btnBack" runat="server" Text="Back" Height="30px" Width="100px" onclick="btnBack_Click"/>
        </p>
    </div>
</asp:Content>

